package nsh.cl.nd.khtn.mazedash;

import nsh.cl.nd.khtn.mazedash.entity.CellType;

import org.andengine.util.color.Color;

public class MazeDashUtils {
	public static Color getColor(CellType type) {
		Color color = Color.WHITE;
		if (type == null) {
			return color;
		}
		
		switch (type) {
		case WALL:
			color = Color.PINK;
			break;
		case PATH:
			color = Color.BLACK;
			break;
		case PLAYER:
			color = Color.CYAN;
		default:
			break;
		}
		
		return color;
	}
}
